package com.ly.erms.common.constant.dicmap;

import com.ly.erms.common.constant.dicmap.base.AbstractDictMap;

/**
 * 角色的字典
 * @author liuyang
 * @date 2018年1月3日
 */
public class RoleDict extends AbstractDictMap {

    @Override
    public void init() {
        putDictory("roleId","角色名称");
        putDictory("num","角色排序");
        putDictory("pid","角色的父级");
        putDictory("name","角色名称");
        putDictory("deptid","部门名称");
        putDictory("tips","备注");
        putDictory("ids","资源名称");
    }

    @Override
    protected void initBeWrapped() {
    	putFieldWarpperDictory("pid","getSingleRoleName");
    	putFieldWarpperDictory("deptid","getDeptName");
    	putFieldWarpperDictory("roleId","getSingleRoleName");
    	putFieldWarpperDictory("ids","getMenuNames");
    }
}
